<html>
<head>
<style>
.a {
    border-top: 40px solid blue;
    border-bottom: 20px dashed green;
    background: green;
    width: 200px;
}
</style>
</head>
<body>
<div class="a"></div>
</body> </html>
